[INFO] cloning repository https://github.com/Tubbles/tetroid
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tubbles/tetroid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 13d55094cdf514fd419338786dc2d56b044e7ed2
[INFO] building Tubbles/tetroid against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Tubbles/tetroid on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Tubbles/tetroid
[INFO] finished tweaking git repo https://github.com/Tubbles/tetroid
[INFO] tweaked toml for git repo https://github.com/Tubbles/tetroid written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Tubbles/tetroid already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1f366bee4caa5dbea99ccf206e827ce0cd18297497dae6e32824a0d5ceb70b8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c1f366bee4caa5dbea99ccf206e827ce0cd18297497dae6e32824a0d5ceb70b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1f366bee4caa5dbea99ccf206e827ce0cd18297497dae6e32824a0d5ceb70b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1f366bee4caa5dbea99ccf206e827ce0cd18297497dae6e32824a0d5ceb70b8", kill_on_drop: false }`
[INFO] [stdout] c1f366bee4caa5dbea99ccf206e827ce0cd18297497dae6e32824a0d5ceb70b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ede56b2583e8774726469e4aee541459574e6311e231795cbe9aead6308c583
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6ede56b2583e8774726469e4aee541459574e6311e231795cbe9aead6308c583", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling tetroid v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0499]: cannot borrow `canvas` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:74:10
[INFO] [stdout]     |
[INFO] [stdout] 67  |     let (ttf_atlas, texture_creator, pixel_altas) = init_res_contexts(&mut canvas, PIXEL_SIZE)?;
[INFO] [stdout]     |                                                                       ----------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 74  |     draw(&mut canvas, rendq)?; // Initial draw of the canvas
[INFO] [stdout]     |          ^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 231 | }
[INFO] [stdout]     | - first borrow might be used here, when `ttf_atlas` is dropped and runs the destructor for type `HashMap<String, Font<'_, '_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `canvas` as mutable more than once at a time
[INFO] [stdout]    --> src/main.rs:95:18
[INFO] [stdout]     |
[INFO] [stdout] 67  |     let (ttf_atlas, texture_creator, pixel_altas) = init_res_contexts(&mut canvas, PIXEL_SIZE)?;
[INFO] [stdout]     |                                                                       ----------- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 95  |             draw(&mut canvas, rendq)?; // Initial draw of the canvas
[INFO] [stdout]     |                  ^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 231 | }
[INFO] [stdout]     | - first borrow might be used here, when `ttf_atlas` is dropped and runs the destructor for type `HashMap<String, Font<'_, '_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*canvas` as mutable more than once at a time
[INFO] [stdout]   --> src/res.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 15 |     canvas: &mut Canvas<Window>,
[INFO] [stdout]    |             - let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 47 |             cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?,
[INFO] [stdout]    |                                 ^^^^^^ `*canvas` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Ok((ttf_atlas, texture_creator, pixel_altas))
[INFO] [stdout]    |     --------------------------------------------- returning this value requires that `*canvas` is borrowed for `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `texture_creator`
[INFO] [stdout]   --> src/res.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |             cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?,
[INFO] [stdout]    |                                         ---------------- `texture_creator` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Ok((ttf_atlas, texture_creator, pixel_altas))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `ttf_context`
[INFO] [stdout]   --> src/res.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |             ttf_context.load_font(Path::new(ttf.1), 44)?,
[INFO] [stdout]    |             ----------- `ttf_context` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Ok((ttf_atlas, texture_creator, pixel_altas))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `texture_creator` because it is borrowed
[INFO] [stdout]   --> src/res.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     canvas: &mut Canvas<Window>,
[INFO] [stdout]    |             - let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 47 |             cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?,
[INFO] [stdout]    |                                         ---------------- borrow of `texture_creator` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     Ok((ttf_atlas, texture_creator, pixel_altas))
[INFO] [stdout]    |     ---------------^^^^^^^^^^^^^^^---------------
[INFO] [stdout]    |     |              |
[INFO] [stdout]    |     |              move out of `texture_creator` occurs here
[INFO] [stdout]    |     returning this value requires that `texture_creator` is borrowed for `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetroid`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "6ede56b2583e8774726469e4aee541459574e6311e231795cbe9aead6308c583", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ede56b2583e8774726469e4aee541459574e6311e231795cbe9aead6308c583", kill_on_drop: false }`
[INFO] [stdout] 6ede56b2583e8774726469e4aee541459574e6311e231795cbe9aead6308c583
